//
//  NSDateFormatter+Format.h
//  FindAJob_oc
//
//  Created by zhengbing on 6/27/16.
//  Copyright © 2016 zhengbing. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDateFormatter (Format)

+ (NSDate *)dateWithString:(NSString *)dateString;
+ (NSDate *)dateTimeWithString:(NSString *)dateString;
+ (NSDate *)dateHourAndMintueWithString:(NSString *)dateString;
+ (NSString *)stringWithDate:(NSDate *)date;
+ (NSString *)stringTimeWithDate:(NSDate *)date;
+ (NSString *)localStringWithDate:(NSDate *)date;
+ (NSString *)localStringAndTimeWithDate:(NSDate *)date;
+ (NSString *)localStringOnlyMonthAndDayWithDate:(NSDate *)date;
+ (NSString *)localStringOnlyHourAndMintusWithDate:(NSDate *)date;
+ (NSString *)localStringOnlyYearAndMonthWithDate:(NSDate *)date;
+ (NSString *)stringMonthAndHourAndMintueWithDate:(NSString *)dateString;
+ (NSString *)formatterDateStringWithDateString:(NSString *)dateString;
+ (NSString *)formatterDateStringIncludeLineWithDateString:(NSString *)dateString;
+ (NSString *)formatterDateStringWithoutHourAndMinWithDateString:(NSString *)dateString;

+ (NSString *)ybFormatterDateStringWithoutHourAndMinWithDateString:(NSString *)dateString;

@end
